
        /**展开查看详情*/
        $(function(){
            var iT=false;
            $(".dt-list-btn").on("click",function(){
                if(iT){
                    $(".dt-tp-show").slideUp();
                    $(this).html("展开查看详情<span></span>").removeClass("active");
                    iT=false;
                }else{
                    $(".dt-tp-show").slideDown();
                    $(this).html("收起<span></span>").addClass("active");
                    iT=true;
                }
                
            });
        });

        (function(){
            function Init(){}
            Init.prototype={
                constructor:Init,
                showBox:function(){

                    $('.dt2-con2-opt').on('click','a.respond_win',function(){
                    	var company_name = $(this).data('company_name');
                		var user_name = $(this).data('link_man');
                		var link_mobile = $(this).data('link_phone');
                		var respondid = $(this).data('respondid');
                		var inviteid = $(this).data('inviteid');
                    	layer.confirm('确认选择这家工厂中标么？',function(){
                    		layer.closeAll();
                    		$.post(get_userUrl()+'Crespond/win', {respondid:respondid,inviteid:inviteid}, function(json){
                    			if (json.status) {
                    				$("body,html").css("overflow-y","hidden");
                    				$('.order2-mask .company_name').html(company_name);
                    				$('.order2-mask .user_name').html(user_name);
                    				$('.order2-mask .link_mobile').html(link_mobile);
                                    $(".order2-mask").show();
                                    $(".order2-con").animate({top:"50%",opacity:1},300);
                                    $(".order2-true").on("click",function(){
                                    	window.location.href=json.data;
                                    });
                    			} else {
                    				layer.msg(json.errmsg,{icon:2,time:1000}, function(){
                    					if(json.data) window.location.href=json.data;
                    				});
                    			}
                    		}, 'json');
                		});
                    });
                    $(".order2-close").on("click",function(){
                        $(".order2-con").animate({top:0,opacity:0},300);
                        setTimeout(function(){
                            $(".order2-mask").hide();
							window.location.reload();
                        },200);
                        $("body,html").css("overflow-y","auto");
                    });
                }
            };
            var showBox2=new Init();
            showBox2.showBox();
        })();